package com.ev.k3cloud.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class K3CloudBillQueryEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "业务对象表单Id（必录）")
    @JSONField(name="FormId")
    private String formId;

    @ApiModelProperty(value = "需查询的字段key集合，字符串类型，格式：\"key1,key2,...\"（必录） 注（查询单据体内码,需加单据体Key和下划线,如：FEntryKey_FEntryId）")
    @JSONField(name="FieldKeys")
    private String fieldKeys;

    @ApiModelProperty(value = "过滤条件，字符串类型（非必录）")
    @JSONField(name="FilterString")
    private String filterString;

    @ApiModelProperty(value = "排序字段，字符串类型（非必录）")
    @JSONField(name="OrderString")
    private String orderString = "";

    @ApiModelProperty(value = "返回总行数，整型（非必录）")
    @JSONField(name="TopRowCount")
    private Integer topRowCount = 0;

    @ApiModelProperty(value = "开始行索引，整型（非必录）")
    @JSONField(name="StartRow")
    private Integer startRow = 0;

    @ApiModelProperty(value = "最大行数，整型，不能超过2000（非必录）")
    @JSONField(name="Limit")
    private Integer limit = 0;
}
